import Ajax from '../../Common/Ajax'
import Config from "../../Common/Config";

export const loginReq = (data) => {
    return Ajax(`${Config.WeiApiAddress}/api/Login/Login`, "post", data);
};

export const registerReq = (data) => {
    return Ajax(`${Config.WeiApiAddress}/api/Login/Register`, "post", data);
};